package com.study;

import com.study.properties.UploadFile;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@Slf4j
@MapperScan("com.study.mapper")
@EnableConfigurationProperties(value = {
        UploadFile.class
})
@SpringBootApplication
public class SpringbootstudyApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootstudyApplication.class, args);
        log.info("=====项目启动成功=====");
    }

}
